#include"mystdio.h"
#include<string.h>
const char *filename="./log.txt";

int main()
{
    myFILE *fp=my_fopen(filename,"w");
    if(fp==NULL)    return 1;

    const char *s="穷游富游，不如少年游！\n";
    my_fwrite(fp,s,strlen(s));
    my_fclose(fp);
    return 0;
}